package com.yqd.d4_polymorphism.demo2;

public class MainTest {
    public static void main(String[] args) {
        Master master = new Master();
       master.play(new Dog());
       master.play(new Cat());
    }
}
